home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / NDK / NDK_3.5 / Examples / Printer / HP_DeskJet_CMYK / transfer.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-10-30  |  1.3 KB  |  44 lines

  1. /*
  2.  * $Id: transfer.h 44.4 1999/09/06 15:36:05 olsen Exp olsen $
  3.  *
  4.  * :ts=4
  5.  *
  6.  * COPYRIGHT:
  7.  *
  8.  *   Unless otherwise noted, all files are Copyright (c) 1999 Amiga, Inc.
  9.  *   All rights reserved.
  10.  *
  11.  * DISCLAIMER:
  12.  *
  13.  *   This software is provided "as is". No representations or warranties
  14.  *   are made with respect to the accuracy, reliability, performance,
  15.  *   currentness, or operation of this software, and all use is at your
  16.  *   own risk. Neither Amiga nor the authors assume any responsibility
  17.  *   or liability whatsoever with respect to your use of this software.
  18.  *
  19.  */
  20.  
  21. /****************************************************************************/
  22.  
  23. typedef short SAMPLE_T;
  24.  
  25. /****************************************************************************/
  26.  
  27. typedef struct
  28. {
  29.     LONG        dd_SamplesPerLine;
  30.     SAMPLE_T **    dd_Lines;
  31.     LONG        dd_NumLines;
  32.     LONG        dd_Seed;
  33.     BOOL        dd_Reverse;
  34. } DITHERDATA_T;
  35.  
  36. /****************************************************************************/
  37.  
  38. VOID Transfer(struct PrtInfo * PInfo,union colorEntry *    ColorInt,LONG y,UBYTE * ptr,DITHERDATA_T * dd,int component);
  39.  
  40. /****************************************************************************/
  41.  
  42. DITHERDATA_T * CreateDitherData(LONG samplesPerLine,LONG numLines,LONG pad);
  43. VOID DeleteDitherData(DITHERDATA_T * dd);
  44.